package com.neo.community.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * <pre>微信 配置</pre>
 * @author neo
 * @since 2020-07-13 10:46
 * @version V1.0
 */
/*@Configuration
@PropertySource(value = "classpath:application.properties")

public class WeChatConfig {
    *//**
     * 微信公众号
     *//*
    @Value("${wxpay.appid}")
    private String wxpayAppId;
    @Value("${wxpay.appsecret}")
    private String wxpayAppSecret;

    *//**
     * 微信开放平台
     *//*
    @Value("${wxopen.appid}")
    private String wxopenAppId;
    @Value("${wxopen.appsecret}")
    private String wxopenAppSecret;
    @Value("${wxopen.redirect_url}")
    private String wxopenRedirectUrl;

    *//**
     * 微信开放平台二维码链接
     *//*
    private final static String OPEN_QRCODE_URL = "https://open.weixin.qq.com/connect/qrconnect?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_login&state=%s#wechat_redirect";

    public String getWxpayAppId() {
        return wxpayAppId;
    }

    public void setWxpayAppId(String wxpayAppId) {
        this.wxpayAppId = wxpayAppId;
    }

    public String getWxpayAppSecret() {
        return wxpayAppSecret;
    }

    public void setWxpayAppSecret(String wxpayAppSecret) {
        this.wxpayAppSecret = wxpayAppSecret;
    }

    public String getWxopenAppId() {
        return wxopenAppId;
    }

    public void setWxopenAppId(String wxopenAppId) {
        this.wxopenAppId = wxopenAppId;
    }

    public String getWxopenAppSecret() {
        return wxopenAppSecret;
    }

    public void setWxopenAppSecret(String wxopenAppSecret) {
        this.wxopenAppSecret = wxopenAppSecret;
    }

    public String getWxopenRedirectUrl() {
        return wxopenRedirectUrl;
    }

    public void setWxopenRedirectUrl(String wxopenRedirectUrl) {
        this.wxopenRedirectUrl = wxopenRedirectUrl;
    }

    public static String getOpenQrcodeUrl() {
        return OPEN_QRCODE_URL;
    }
}*/
